<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2025/9/8
  Time: 16:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改</title>
</head>
<body>
<p>
    修改信息
</p>
<form action="/updatePhone.do" method="post">
<p>
    库存：<input type="number" name="inventory" placeholder="请输入" value="${phone.inventory}">
</p>
<p>
    名称：<input type="text" name="name" placeholder="请输入" value="${phone.name}">
</p>
<p>
    型号：<input type="text" name="type" placeholder="请输入" value="${phone.type}">
</p>
<p>
    价格：<input type="number" name="price" placeholder="请输入" value="${phone.price}">
</p>
    <input name="id" type="hidden" value="${phone.id}">
<p><input type="submit" value="保存"> </p>
</form>
</body>
</html>
